Added HashVisitor class.
Added constructor for HashVisitor class.