delete, and tree printing implimented