Permit class submarine