added class for easily working with 2d and 3d arrays of any atomic type (int, float, double ...)