Homology of a Shellable Pure Simplicial Complex