private Character[][] getChessBoardArray(String FEN) {
		Character[][] board = new Character[8][8];
		for(Character[] c:board){
			Arrays.fill(c, ' ');
		}
		int rank = 7;
		int file = 0;
		for (int i = 0; i < FEN.length(); i++) {
			char c = FEN.charAt(i);
			if (c == ' ') {
				break;
			} else if (c == '/') {
				rank--;
			} else if ((c >= '0' && c <= '9')) {
				for (int j = c - '0'; j > 0; j--) {
					board[rank][file % 8] = ' ';
					file++;
				}
			} else {
				board[rank][file % 8] = c;
				file++;
			}
		}
		return board;
	}