Create 3A - Shortest path of the king.cpp