lab2 c-part almost done