changes from reddit.... changed code to Python 3 also.

http://www.reddit.com/r/learnpython/comments/26knvp/critique_and_help_me_make_this_more_idiomatic/
Merge branch 'master' of https://github.com/cetanu/blistd

Conflicts:
	blistd.py