Upload version 1

Will split to .hpp and .cpp later. Maybe add .c and .h version.
.DS_Store and version 1