Changed balls to platforms, added reset feature
Changed variables to make them local