#4: Helper methods to handle array rotation.

There are some tests included to explain how it should be used.

Note that the in-place rotation method is more memory efficient, but will modify the array that you pass in.