Moved declaration of map_grow() to header file.

I'm no C expert but I think this function declaration should be in the header file, no?

Anyway, thanks for sharing your code. It's a truly great read!