moved example.c to doc/ directory.
moved test cases to test/ directory.
moved everything else to misc/ directory.

I plan to delete stuff I don't need.
updated gitignore.