Added Haochen's solutions for ps3, added mine for problem 2.