In what may turn out to be a boon for developing countries, scientists claim to have created a device which can generate electricity from waste water.