Fix purity finder
Add more test cases
Ignore pycharm files
Remove local pycharm files