$ ./useHeap.exe Choose a capacity for the binary heap: 500 Options: 1 - Insert a new item into the binary heap 2 - Set the key of a specified item 3 - Delete a specified item 4 - Perform a deleteMin 5 - Quit Choose an option: 1 Enter an id string (to insert): string one Enter an associated integer key: 35 Call to 'insert' returned: 0 Options: 1 - Insert a new item into the binary heap 2 - Set the key of a specified item 3 - Delete a specified item 4 - Perform a deleteMin 5 - Quit Choose an option: 1 Enter an id string (to insert): string two Enter an associated integer key: 55 Call to 'insert' returned: 0 Options: 1 - Insert a new item into the binary heap 2 - Set the key of a specified item 3 - Delete a specified item 4 - Perform a deleteMin 5 - Quit Choose an option: 1 Enter an id string (to insert): string three Enter an associated integer key: 45 Call to 'insert' returned: 0 Options: 1 - Insert a new item into the binary heap 2 - Set the key of a specified item 3 - Delete a specified item 4 - Perform a deleteMin 5 - Quit Choose an option: 1 Enter an id string (to insert): string four Enter an associated integer key: 5 Call to 'insert' returned: 0 Options: 1 - Insert a new item into the binary heap 2 - Set the key of a specified item 3 - Delete a specified item 4 - Perform a deleteMin 5 - Quit Choose an option: 1 Enter an id string (to insert): string two Enter an associated integer key: 10 Call to 'insert' returned: 2 Options: 1 - Insert a new item into the binary heap 2 - Set the key of a specified item 3 - Delete a specified item 4 - Perform a deleteMin 5 - Quit Choose an option: 1 Enter an id string (to insert): string five Enter an associated integer key: 80 Call to 'insert' returned: 0 Options: 1 - Insert a new item into the binary heap 2 - Set the key of a specified item 3 - Delete a specified item 4 - Perform a deleteMin 5 - Quit Choose an option: 1 Enter an id string (to insert): string six Enter an associated integer key: 20 Call to 'insert' returned: 0 Options: 1 - Insert a new item into the binary heap 2 - Set the key of a specified item 3 - Delete a specified item 4 - Perform a deleteMin 5 - Quit Choose an option: 1 Enter an id string (to insert): string seven Enter an associated integer key: 70 Call to 'insert' returned: 0 Options: 1 - Insert a new item into the binary heap 2 - Set the key of a specified item 3 - Delete a specified item 4 - Perform a deleteMin 5 - Quit Choose an option: 4 Call to 'deleteMin' returned: 0 Deleted item with string id "string four" and key 5 Options: 1 - Insert a new item into the binary heap 2 - Set the key of a specified item 3 - Delete a specified item 4 - Perform a deleteMin 5 - Quit Choose an option: 3 Enter an id string (to delete): string four Call to 'delete' returned: 1 Options: 1 - Insert a new item into the binary heap 2 - Set the key of a specified item 3 - Delete a specified item 4 - Perform a deleteMin 5 - Quit Choose an option: 4 Call to 'deleteMin' returned: 0 Deleted item with string id "string six" and key 20 Options: 1 - Insert a new item into the binary heap 2 - Set the key of a specified item 3 - Delete a specified item 4 - Perform a deleteMin 5 - Quit Choose an option: 2 Enter an id string (to change its key): string one Enter an associated integer key: 50 Call to 'setKey' returned: 0 Options: 1 - Insert a new item into the binary heap 2 - Set the key of a specified item 3 - Delete a specified item 4 - Perform a deleteMin 5 - Quit Choose an option: 3 Enter an id string (to delete): string two Call to 'delete' returned: 0 Deleted item with string id "string two" and key 55 Options: 1 - Insert a new item into the binary heap 2 - Set the key of a specified item 3 - Delete a specified item 4 - Perform a deleteMin 5 - Quit Choose an option: 4 Call to 'deleteMin' returned: 0 Deleted item with string id "string three" and key 45 Options: 1 - Insert a new item into the binary heap 2 - Set the key of a specified item 3 - Delete a specified item 4 - Perform a deleteMin 5 - Quit Choose an option: 4 Call to 'deleteMin' returned: 0 Deleted item with string id "string one" and key 50 Options: 1 - Insert a new item into the binary heap 2 - Set the key of a specified item 3 - Delete a specified item 4 - Perform a deleteMin 5 - Quit Choose an option: 2 Enter an id string (to change its key): string five Enter an associated integer key: 60 Call to 'setKey' returned: 0 Options: 1 - Insert a new item into the binary heap 2 - Set the key of a specified item 3 - Delete a specified item 4 - Perform a deleteMin 5 - Quit Choose an option: 4 Call to 'deleteMin' returned: 0 Deleted item with string id "string five" and key 60 Options: 1 - Insert a new item into the binary heap 2 - Set the key of a specified item 3 - Delete a specified item 4 - Perform a deleteMin 5 - Quit Choose an option: 4 Call to 'deleteMin' returned: 0 Deleted item with string id "string seven" and key 70 Options: 1 - Insert a new item into the binary heap 2 - Set the key of a specified item 3 - Delete a specified item 4 - Perform a deleteMin 5 - Quit Choose an option: 4 Call to 'deleteMin' returned: 1 Options: 1 - Insert a new item into the binary heap 2 - Set the key of a specified item 3 - Delete a specified item 4 - Perform a deleteMin 5 - Quit Choose an option: 5 Goodbye!