added solution to 3rd problem set