Added benchmark test.

Added a benchmark test to check future implementations of the algorithm