Added overloaded operator<<, removed printHash