Added overloaded operator<<, remove printHash