Return from function if index is <= 1 (can happen).
Merge branch 'master' of github.com:abhinav-upadhyay/data-structures