update lab1/sample.c