A couple of different datastructures and algorithm implementations.