Moving Ball Code In C