delete a node working
added cin validations

fixes #2 (see https://gist.github.com/talllguy/7867177#file-cinvalidate-cpp)