Created tsh.c

implemented tsh.c