ex3 done; BufferPool constructor and getPage() partially implemented