Add linkedlisthelper class to reverse linkedlist