Completed key address generation

* Fixed genKey hex data bug
* Added ripemd160 function from the OpenSSL lib
* Added getAddress function for PubKey object
* Minimized code of genKey function