passes initial readin/writing tests (1-6)

implemented allocate, free, index, add/remove block, change size, read/write