Update 2.7

using stack to reverse linked list.