Update TextGen.cs

Added copyright info