Added class that allows to reverse a stack in-place and without using additional memory