fix pep8 in queries and remove print in counting ip ranks
Merge branch 'master' of https://github.com/andriykohut/LV-090_LAMP