The codes have been merged

final step is to make the ball movement