Finding a Motif in DNA (clean up)

Cleaned up code to use a list to store data instead of one long string.
Added code to save the answer to an output file.