problems 1-4 done; starting problem 5