lab2 all exercise DONE.