Add passing code for 'able to find duplicates in an array'
Add passing code for 'able to square each number in an array'
Add passing code for 'able to find all occurences of an item in an array'
Apply minor refactoring