Slide the board in any direction without rotating

Add a function: slide(board, direction)

New tests will have to be written, since there is no more slideArray() function.