public static String parity(String msg){
		if(msg!=null){
		String parityStr = null;
		int n = msg.hashCode();
		System.out.println(n);
		switch(n%2)
		{
			case 0:
				parityStr = "even";
				break;
			case 1:
				parityStr = "odd";
				break;
		}
		return parityStr;} else
			return "no input";
	}