Add operator::<< to Term and fix LL remove()

Add print operation for Term struct, and fixed the remove method
bug.