A combinatorial approach to surgery formulas in Heegaard Floer homology