changed fourSq.js and made it more object oriented as well as removed functions within other functions