Divided lab2 into two files