add samples/ folder and makefile
add 'bookstore' example and makefile changes
build lib if not built in the samples Makefile
add 'performance' sample. Refactor quicksort