Working Code!

Took me a while to discover the reasoning behind ByteString, and edited
Keybag class to make it (almost) identical to Python version.