added lab 1 code