public MowerCoordinate action(char cmd)
	{
		cmd=Character.toUpperCase(cmd);
		
		switch(cmd)
		{
			case 'L':
				this.facing-=90;
				break;
			case 'R':
				this.facing+=90;
				break;
			case 'M':
				int dir=(facing/90)%4;
				switch (dir) {
					case 0:
						this.y += 1;
						break;
					case 2:
						this.y-=1;
						break;
					case 3:
						this.x-=1;
						break;
					case 1:
						this.x+=1;
					default:
						break;
				}
				break;
			default:
				break;
		}
		
		if(this.facing<0)this.facing+=360;
		
		return this;
		
	}