public Location(String s) {
		myAlgebraicLocation = s;
		myFile = s.substring(0, 1);
		myRank = s.substring(1, 2);
		myY = Integer.parseInt(myRank) - 1;
		if (myFile.equals("a")) {
			myX = 0;
		} else if (myFile.equals("b")) {
			myX = 1;
		} else if (myFile.equals("c")) {
			myX = 2;
		} else if (myFile.equals("d")) {
			myX = 3;
		} else if (myFile.equals("e")) {
			myX = 4;
		} else if (myFile.equals("f")) {
			myX = 5;
		} else if (myFile.equals("g")) {
			myX = 6;
		} else if (myFile.equals("h")) {
			myX = 7;
		}
	}