Fixed a typo and clarified a couple of examples

Hope these are useful. Just things that snagged when I was reading the Data structures chapter.