Some work on generating a mesh for problem 2.