update pixel gen to reflect ball position inputs and add code for ball movement. Not working