problem 37 initial function
prob 37 minor fixes
prob 37 nomenclature changes
prob 37 solved