chapter one datastructures
some chapter 2 additions