Massachusetts swimmer survives great white shark attack