private static boolean checkMove(int inputX, int inputY, int [][] board, int playerNumber) {

		if ((inputX <= 8 && inputX >= 1) && (inputY <= 8 && inputY >= 1) &&
				(board[inputX-1][inputY-1]== 0)){

			board[inputX-1][inputY-1] = playerNumber;
			return true;
		}
		else{
			return false;
		}
	}