Fixed prototypes in reverse.h, fixed typo in reverse.c