fixed errors in lattice lesson