a submarine is a boat that travels under water