fixed a bug in recursion + pep8
merged README with instructions for OS X, Heroku and Linux