A multidimentional version of C++'s std::array