26.02.14. added functions: write and read block from memory