correct a misconception in the licence thing.
Changing Makefile for making a lib.

Moving main.c into test, changing behaviour of the
Makefile now it build a an archive library.