fixed some typos in lab 9 code