Fixed unpacking tuples
Added write-read example