add reverse program from ioccc