public static int firstEmptyPosition(Board board, int col) {
		int row = Board.MINHEIGHT;
		//Error-checking
		if (!Util.isColumnValid(board, col)) {
			//Column is out of bounds
			row = Util.ERRORTHRESHOLD;
		}
		else {
		while ((row <= board.getHeight()) && 
				(board.getPosition(col, row) == Counter.EMPTY)) {			
				row++;
		}
		if (!Util.isRowValid(board, row)) {
			row = Util.ERRORTHRESHOLD;
		}
		}
		return row - 1;
	}