public boolean setDirection(String directionArg){
	if(directionArg.equals("up") || directionArg.equals("down")
	   || directionArg.equals("left-up") || directionArg.equals("left-down")
	   || directionArg.equals("right-up") || directionArg.equals("right-down")){
	    direction = directionArg;
	    return true;
	}
	else {
	    return false;
	}
    }