Data structure C language version __ recursive solution maze problem