How Generators Work & Produce Electricity