A Review of the Index Method in Closed Geodesic Problem