Added solution to problem set 5.