rock that has been eroded by the ocean for thousands of years