Going through a flask tutorial