Improved hockey team constructor, added method to write to XML