Java version of gilded rose kata