added solutions to benchmark test cases