public boolean validMove(Coordinate newLocation){
		boolean valid = true;
		// remove the path if it is a wall or it is occupied or it is part of the outerwall
		if(mazeMap.getNode(newLocation).isWall() ||
				//mazeMap.getNode(newLocation).isOccupied() ||
				newLocation.getX() < 1 || newLocation.getY() < 1 ||
				newLocation.getX() >= mazeMap.getColumns() - 1 || 
				newLocation.getY() >= mazeMap.getRows() - 1) {
			valid = false;
		}
		return valid;
	}