CS 310 lab 1