public static void main(String[] args) throws IOException{
		Board board = new Board();
		BoardGUI boardGUIStart = new BoardGUI(board);
		JFrame frame = addToFrame(boardGUIStart);
		
		List<Move> moves = new ArrayList<Move> ();
		try {
			Move move1 = new Move(new Coordinate("E2"), new Coordinate("E4"));
			Move move2 = new Move(new Coordinate("E7"), new Coordinate("E5"));
			Move move3 = new Move(new Coordinate("G1"), new Coordinate("F3"));
			Move move4 = new Move(new Coordinate("B8"), new Coordinate("C6"));
			
			moves.add(move1);
			moves.add(move2);
			moves.add(move3);
			moves.add(move4);
		}
		catch (Exception e) {
			e.printStackTrace();
		}
		System.in.read();
		frame.setVisible(false);
		for(int i = 0; i < moves.size(); i++) {
			if (board.execute(moves.get(i))) {
				BoardGUI boardGUI = new BoardGUI(board);
				JFrame moveFrame = addToFrame(boardGUI);
				System.in.read();
				moveFrame.setVisible(false);
			}
			else {
				System.out.println("Invalid move");
			}
		}
	}