Help with Ball in square game?

Check this