Generation of Electricity From Waves