Program for measuring the volume of a room