public static char determineDirection(int x1, int y1, int x2, int y2){		//figure out which direction something at x1, y1 is from something at x2, y2
		if(y1==y2){	//4 or 6
			if(x1>x2)		
				return '4';		//left
			if(x1<x2)
				return '6';		//right
		}
		else if(x1==x2){//8 or 2
			if(y1>y2)
				return '8';		//up
			else if(y1<y2)
				return '2';		//down
		}
		else if(x1>x2){
			if(y1>y2)
				return '7';		//up-left
			else
				return '1';		//down-left
		}
		else{
			if(y1>y2)
				return '9';		//up-right
			else
				return '3';		//down-right
		}
		return '5';		//only remaining possibility: monster is in same square as target
	}