finished hw 1 for 630