sketching out more transliterated C algorithms