Camera code made using flash