A hilarious Chasing Game, Java