Gomoku Game in JAVA