toffer question 5: print linklist reversely