Update gc.pl

for some reason your code doesn't show the correct output based on the example file from the Rosalind puzzles. Possible reason could be the line input issues, especially your newline chomp may not work.