Corrected Ex3, Problem 2. Corrected staggered indices and boundary conditions.