add .gitignore file
add test performance for naive and fast algorithm