Circular List implementation for my own linked list and array based list