Build an Image Carousel component in React.
Requirements:
- Display a sequence of images one at a time.
- Include "Next" and "Previous" buttons to navigate between images.
- Loop back to the first image after the last one, and vice versa.
- Focus on functionality over styling.
- The component should work out-of-the-box in a live React preview (e.g., CodeSandbox/Sandpack).