Golang implementation of a Doublet solver using the A* algorithm