reverse linked list, abort trap: 6
check parenthesis balanced with stack