Smart bricks recycle waste and produce electricity