Finished solutions for Hw1.