Implementations of some data structures from MIT's CS 6.851