Exercise 12: Found and corrected typos in practice code