Started ball functions

added prototypes and started ball functions for ball movement