Added simple examples

Added some easy-to-follow examples of wallet generation. Also improved
some comments and function signatures.