Added bounces and edge checking

Also fixed the position of the ball to be centered. Added min/max pos
variables but did not actually implement them.