Also, why does prepareItemSets return a concatenated string of the items instead of a Seq[T]?  What if the string representation isn't enough?