Simple URL Shortener in Flask