Added genKey fctn. Requires C++11