Started working on mmap, and fixed a bug making my write allocate too many pages