Finished the first part of lab9