updated poker.java and keyGen.java