https://codeworld19.blogspot.com/2020/06/overloading-ostream-operator-in-c.html