class CoordinateSystem implements Serializable {

	public int manhattanDistance(short p, short q) {
		final int rowd = abs(row(p) - row(q));
		final int cold = abs(column(p) - column(q));
		return rowd + cold;
	}

	private  CoordinateSystem(int width);

}