simple elevator for code story #3 in python/flask