Updated LIBP to latest version.
Added empty main file for unit tests to be written in the future.
Added working makefile, useful for building library and unit tests, both for release and debug purposes.
Fixed various bugs preventing source files from compiling.