a submarine is a kind of underwater boat