- Reimplemented PolyList as a simplest linked list to get rid of STL dependency