Adding quiz function to the Hartl tutorial