[slib] Modifies list.h to work with C++. Changes benchmarks/lib source file orgnization.