Changes to .gitignore file.
Solved UVa problem 344.