Finished hw3-Parti1b