Students at the University of Washington in Seattle have invented a device that generates electricity from open flames to charge phones and similar small devices.