add build and dist directories to gitignore
add __str__ methods to NewNode and Tag classes