Adding overloaded operator for appending to array