Should now compile as ansi C.

removed line comments
also removed redundant license and changed license from MIT to BSD 3-Clause