homework assignment 2 complete