Modified code so that T=1 and T=2 works.
Merge branch 'master' of github.com:ginagruenhage/cmdsr
Merge branch 'master' of github.com:ginagruenhage/cmdsr