add reverse array iterator and implemented in stack classes