Finished hw 3