REFACTOR: issue #18

Moved the benchmark functions to a file called benchmark_functions.