Add Makefile to build the library

-move main.c to tests/test_libmy.c
-Fix all the include warnings