Solution to Rosalind Challenge Problem 4C