added documentation to solve.cpp; started tracking .gitignore