added to git ignore and added C++ solution to problem 2