Refactor output() method to simplify and accommodate other types
Adjust ALS output method too
Issue #59 : add popularRepresentativeItems() method as an experiment