Floating machine uses the motion of the ocean to generate renewable energy