Added an ostream operator to Template so we can easily process and print the output