added .gitignore and fastinput function in fastinput.cpp