Create mycollections.py

Backport of the collections module, useful for the absorption plot