fix root node being NULL at start :)
remove pointless breaks
remove pointless exit
fix KEYSIZE
compiles and runs...just spits out garbage :)