How does the submarine rise and dive