add gitignore file
add test and Makefile