Java code for Programming Game AI for Tron