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).