added lab 1 c code to repo