A* algorithm implementation in Go language