Rules of Zigzag

The zigzag puzzle is square grid containing letters. The number of letters depends on the size of the grid. A grid of size 4X4 has the letters A,B,C and D, of size 5X5 A,B,C,D and E , and so on up to A to H for a grid of size 8X8. The goal is to find a path starting from  the  upper left corner to the bottom right corner by connecting all the letters in order (A,B,C,D,E,A,B...E for a grid of size 5X5). Look at the example.

Zigzag Puzzle and Solution