Combinatorial aspects of the Baker-Akhiezer functions for S2