Codon Counter in Python/C