modified method for thread safety
updated README with instructions
updated gitignore
updated executable