applied single responsibility && broke up script into methods
handles null argument case
appends ruby comment to all files within directory
updated write_to_file to append_to_file
    * the 'w' flag for File.open was overwriting the contents of
    the file passed in