Adding the examples from chapter 9.
add key generation benchmarks