add limit.h

When I tried to compile your game I got the next message:
"   ‘INT_MAX’ was not declared in this scope   "
I thought that it is a macro defined in " limit.h " so I added and it worked.

I wonder.. did it worked in your computer??