Close #6. Added examples for writing and reading something