Coin changer kata in Java