A class template, with varadic parameters, simulating a multidimensional array