Finished implementation of random read buffer.