Lab 6 Q1 done(via referrence)