Update tsub/tsub.cpp

added license & author