C # implementation of counting number of possible hexagonal walks
using System ; class GFG { static int depth = 14 ; static int [ , , ] ways = new int [ 16 , 16 , 16 ] ; static int stepNum ; static void preprocess ( int [ ] list ) {