Add function for printing solution in format Rosalind wants