A standard algorithm that moves elements within a row or column of a 2D array in a specified direction, with elements wrapping or being displaced.
Topic 4.13: 4.13 Implementing 2D Array Algorithms
shift algorithm cheat sheet for homework