update gitignore
add makefile
add common header
problem 1