First completed version of lab4