Final B-Tree Implemented with Test Cases