Spent about 90 minutes on HW6