Added new structures and prototypes
Added nth.h header
Fixed incorrectly typed function pointer array