linked-list-reversal fail attempt