Merge pull request #5 from daydayfree/master

Fix code style
fix unittest
Fix raw_input in python3