using tuples for getting multiple outputs
simple encryption example part 1