Updated 2D example file, should compile
Updated 2d example file