Toy implementations of interesting algorithms and data structures