public ArrayList<FirstMove> makeFirstMoves(SearchPiece[] board) {
		ArrayList<String> history = new ArrayList<String>();
		ArrayList<FirstMove> firstmoves = new ArrayList<FirstMove>();
		for (int i = 0; i < board.length; i++) {
			SearchBoard move1 = new SearchBoard(board, 1, 1, i);
			
			SearchBoard move2 = new SearchBoard(board, 1, 2, i);
			move1.setBoardSize(board[0].getBoardSize());
			move2.setBoardSize(board[0].getBoardSize());
			
			move1.printBoard();
			//System.out.println("");
			move2.printBoard();
			//System.out.println("");
			String direction1;
			String direction2;
			if (board[i].getPieceType() == 1 || board[i].getPieceType() == 2)
				direction1 = "Left";
			else
				direction1 = "Up";
			if (board[i].getPieceType() == 1 || board[i].getPieceType() == 2)
				direction2 = "Right";
			else
				direction2 = "Down";

			if (move1.isLegalBoard()) {
				FirstMove firstmove1 = new FirstMove(move1, i, 1, direction1,history);
				firstmoves.add(firstmove1);
				history=firstmove1.getHistory();
			}
			if (move2.isLegalBoard()) {
				FirstMove firstmove2 = new FirstMove(move2, i, 1, direction2,history);
				firstmoves.add(firstmove2);
				history=firstmove2.getHistory();
			}

		}
		
		return firstmoves;
	}