fixed returning string in generate()
Merge branch 'master' of https://github.com/Fumler/program_proj1