redo kata in java