Hackerhank challenge 'roy and aalpha-beta trees' ipython notebook.