Added benchmark scripts.

Added some scripts to benchmark runtime and memory usage.
NOTE: Memory benchmarking required valgrind to be installed.