added worked version of lab  6