change tab to spaces according to PEP8
add .idea to gitignore file.