Added Hand.java code