adding benchmark functions for part1 of problem3