finished first implementation of lab 9, objective 1