add some colors
add .gitignore
add some tests to avoid segmentation fault