Fixed a bug of LinkedList's Reverse() method.