-- Feb 14 In-Class Exercise
To look up the record with key = 19, we first start at the root node (13, (ptrL, ptrR).
Since 19 > 13, move to the node ptrR is pointing to (the right one) where we now then have ((23, 31, 43), (ptr1, ptr2, ptr3, ptr4)) as our node to compare.
Since 19 < 23, we then will have to access the node ptr1 is pointing to, as such node contains records with key < 23.
We are now at the bottom most layer of the tree where 19 is found. Access the actual record pointed by it.
To look up the record with key = 19, we first start at the root node (13, (ptrL, ptrR).
Since 19 > 13, move to the node ptrR is pointing to (the right one) where we now then have ((23, 31, 43), (ptr1, ptr2, ptr3, ptr4)) as our node to compare.
Since 19 < 23, we then will have to access the node ptr1 is pointing to, as such node contains records with key < 23.
We are now at the bottom most layer of the tree where 19 is found. Access the actual record pointed by it.