complete homework assignment #2