Implement BufferPool.java