Update 2d-array.cpp

looks much nicer now