added method and loop files
Merge branch 'master' of https://github.com/akashdeep94/rubycode