sample flask code