Today's submarines are the pinnacle of technology, the most sophisticated constructions in shipbuilding ever.