UPDATE: remove map requirement and replace with list comprehension.  ADD: Docstrings.  UPDATE: copyright period