Java implementation of counting number of possible hexagonal walks
import java . util . * ; class GFG { static int depth = 14 ; static int ways [ ] [ ] [ ] = new int [ 16 ] [ 16 ] [ 16 ] ; static int stepNum ; static void preprocess ( int list [ ] ) {