minor updates to earlier problems, added solution to problem 3