Add support for >=python-3.3

Tested using `./bin/random 100 | python2.7 diagram.py` and `./bin/random
100 | python3.3 diagram.py`
Merge pull request #6 from yegle/py3k

Add support for >=python-3.3