Unnecessary whitespaces removed.
Made Python 3 compatible
A variable name changed
Use absolute import for python2 compatibility
python version check for iteration removed
Merge pull request #9 from mesuutt/master

Python 3 support