code to try playing around with using generics and sets, includes a map demo, too