Lecture notes and added methods to BST.pm.