Latest C Aptitude Question SOLUTION: Algorithm for snake and ladder game?