The white-and-red flag dates to a 13th-century coat of arms. This country's mathematicians cracked the Enigma code before WWII — a feat overlooked for decades.