Implemented soccer ball 'AI' in main program.