cookbook004.py, Finding the Largest or Smallest N Items