Rename 2d_array to jagged_array and modify class header