Initial code given for lab 4