Finished problem set 6