fixed bug in append benchmark
added prepend benchmark
added more test cases
optimized append
updated generated code