homework 2, part one finished