Minor changes to command-line tool

1. Set default value of decrypt_flag to 0 so that encoding works (uninitalized was a positive number interfering with the decode value - it was basically always trying to invoke the decode function)
2. Added more detailed usage