Geothermal Energy as a Source of Electricity