Learning Java by programming poker game