cpsc310 lab 2