solutions to quiz 3