My answer for 6.00.1 Problem Set 3