Added source code file.
Imported into Eclipse and converted to a C project.