M101J Homework 3.2 and M101J Homework 3.3