added ball.js file, working on updateGame function