Java 4-in-line game with GUI and AI