Get nth element from the end of the singly linked list