Updated to work with python 2.6, provided "counter" and "ordereddict" ar...

...e installed from pip.
It closes #2.