rids of unless statement
refactors if/else statement
refactors all each loops into one-liners
rid of unnecessary each loop and renamed vars
added README file