Fix memory management in linked list, logo, cycle detection updated