Brooklyn students learning how to protect shoreline