public static String getDirection(double x0, double y0, double x1, double y1) {
		if (areEqual(y0, y1) && x1 > x0) { // Going east
			return "E";
		}
		
		else if (areEqual(y0, y1) && x1 < x0) { // Going west
			return "W";
		}
		
		else if (areEqual(x0, x1) && y1 > y0) { // Going north
			return "N";
		}
		
		else if (areEqual(x0, x1) && y1 < y0) { // Going south
			return "S";
		}
		
        else if (x1>x0 && y1>y0) {
            return "NE";
        }
		
        else if (x1<x0 && y1>y0) {
            return "NW";
        }
		
        else if (x1<x0 && y1<y0) {
            return "SW";
        }
		
        else if (x1>x0 && y1<y0) {
            return "SE";
        }
		
        else {
            return "None";
        }
	}