Commenting code and adding some output for the Key Generation