1. Add the file [.gitignore] to ignore *.out & *~
2. Fix a little bug in RandomCode