problems 29-42
p29 solved
p31