Added a totalCost function to the House object that calculates total room costs