Fixed line 20 in app.py. range() command now ends in "(end + 1)" instead of "end".