refactored the initial solution of rosalind Computing GC Content problem