Implemented all tree methods; Also Queue and Stack