Testing writing/reading 2d array.