Added BlockOutputStream

Fully implemented and tested