Shifts the whole grid vertically or horizontally so that the order remains the same but the prompted element or construct appears in first position.
Examples
if (FALSE) { # \dontrun{
# shift element 13: 'Ideal self' to first position
shift(feixas2004, 13)
x <- randomGrid(5, 10)
shift(x, 3, 5)
} # }