fixed bug where game crashed when player specified invalid next number
Improved the code with MACROS! Before you start throwing rocks at me, please check config.c