added Array class, sort of generalization of Vector to higher dimensions