Solutions to problem set questions