Update approachBall.c

pseudocode to more actual code