added .gitignore to ignore backup files
added optional time limit