ball now moves horizontally and vertically and bounces off all four walls