Nearly finished implementation of memory pool. Run into a problem that I don't understand with unique_ptr.