lab 1 code and document