Base code for starting lab 6 in 67-272 (Spring 2014)