Updated example.cpp to reflect 1D to 5D instantiation, assignment, etc.