Update gitignore to ignore data files
Fixed major bugs that prevent the program from normally functioning.