try/catch input for numFloors