Added pair type and if statement

Signed-off-by: Andrew Miller <amiller@dappervision.com>
Now with RedBlack+ tree\!

Signed-off-by: Andrew Miller <amiller@dappervision.com>
Refactored a bit, added binary serialization using cereal

Signed-off-by: Andrew Miller <amiller@dappervision.com>