Java dice game for learning purposes