Splits array into rows and columns and navigates via up, down, right and left commands.