Password Cracker in Java