Trying to write a TI-89 program: need help!