Style changes

Some of type and code style changes.
I used:
  #!/usr/bin/env python
  # -*- coding:utf-8 -*-
coz it runs a bit faster than original one (yea, I love speed :P).
Merge pull request #22 from ZDroid/patch-1

Style changes