Python Code Challenge

161 - Implement a class for a custom data structure, such as a linked list or binary tree, and demonstrate the use of encapsulation and polymorphism.