private Direction getDirection(String inputCommand) {
	    Keys key = Keys.valueOf(inputCommand);
	    switch(key) {
	    case UP:
	        return Direction.NORTH;
	    case DOWN:
	        return Direction.SOUTH;
	    case LEFT:
	        return Direction.WEST;
	    case RIGHT:
	        return Direction.EAST;   
	    default:
	        return Direction.NONE;
	    }
	}