Developing block device access

- block_write() function
- block operations should return size_t instead of int