Reverses the elements of self in place.
fun reverse() { inout }
O(n), where n is the number of elements in self.