Added the computer AI and updated the way its turn is handled in Main.java