Added include for <ostream>, error that it was missing