Gomoku implementation for Android