kokomo rental houses game of nim java