use boost variant to represent each element. boost multi-array is not a
dynamic multi array, so plan to create a multi-array class for apl.