Solution to Rosalind Problme 4B