fixes issue #113 by allowing users pass list of lines instead of one big line. Also createBlock can receive another block, not only a document.