Fixing issues #3 & #4

- Fixing indentation issues
- Making the script work in Python 3.0 and above ( Issue #4 )