Sample implementations of algorithms and data structures