Add makefile
Add gitignore
Add usage and examples for readme.
(The information is solely based on my educated guess after reading the
source. Please kindly correct any mistake.)