public static boolean adjacent(char x, char y) {
		initPositionSingleton();
		KeyPosition pos = (KeyPosition) qwertyposSingleton.get(new Character(Character.toLowerCase(x)));
		if(pos == null) {
			return false;
		}
		int col = pos.getCol();
		int row = pos.getRow();
		String keyRow = QWERTY[row];
		

		if(col == 0) {
			if(keyRow.charAt(col + 1) == Character.toLowerCase(y)) {
				return true;
			}
		} else {
			if(keyRow.charAt(col - 1) == Character.toLowerCase(y)) {
				return true;
			}
			
			if(col + 1 < keyRow.length() && keyRow.charAt(col + 1) == y) {
				return true;
			}
		}
		
		return false;
	}