The code has some syntax errors.

If you test this class, try using t = -1 and see what value is printed out.