Fixed bug in class implementation, previous position of ball wasn't being updated every turn.