Computing Homology groups of simplicial complexes