Simple implementations of different data structures