AI-opponent for Gomoku implemented in Java