Fixed chaining_main.cpp after debugging
Added gitignore