static int letterDistance(char c1, char c2){
		
		int x1;
		int x2;
		int y1;
		int y2;

		if (KEYBOARD_MATRIX.get(0).contains(c1))
			x1=0;
		else if (KEYBOARD_MATRIX.get(1).contains(c1))
			x1=1;
		else if (KEYBOARD_MATRIX.get(2).contains(c1))
			x1=2;
		else
			x1=3;

		if (KEYBOARD_MATRIX.get(0).contains(c2))
			x2=0;
		else if (KEYBOARD_MATRIX.get(1).contains(c2))
			x2=1;
		else if (KEYBOARD_MATRIX.get(2).contains(c2))
			x2=2;
		else
			x2=3;

		y1 = KEYBOARD_MATRIX.get(x1).indexOf(c1);
		y2 = KEYBOARD_MATRIX.get(x2).indexOf(c2);	
		
		//Account for spacebar being in the middle
		if (x1==3)
			y1=5;
		if (x2==3)
			y2=5;
		
		return (x1-x2)*(x1-x2) + (y1-y2)*(y1-y2);
	}