Adjusted error text
Cleaner code for reading input
Prints out public and private key data