I think the OP is looking, when he inserts 4, 3, 2, 1 to have 1, 2, 3, 4. Because we have, in this case, a
simply linked list (not a doubly one), there is no way to loop back (apart from a hack, as I explained on CodeReview), and I think pre-pending achieves the desired behavior. If the OP says this is not what he is looking for, I will deleted this answer and try to re-answer @StefanPochmann —
Billal BEGUERADJ 45 secs ago