toy data structure implementations for fun