added lab2 files

questions 4-7