Definition of Heegaard-Floer homology groups