Implementation of the circular linked list data structure using PHP class