Create BTreePrinter

Written by Michal Kreuzman, pulled off of StackOverflow.