Completed assignment 2.