Update binarytree.hpp

Made changes to the delete function in case of a single child