Fixed missing paren.
Fixed Flask conditional for first output.
Added files for Heroku.
Minor cosmetic changes.
Added Flask functions at import.
Fixed missing hash file bug.