Updated lab11 with almost working code