go/main: intraduce -dijkstra flag and simplify main function
go/main: intraduce -dijkstra flag and simplify main function

Signed-off-by: Soshi Katsuta <37be56e1b0b2d8665f687408a43d44ca133648fd@gmail.com>

skatsuta/mazes,skatsuta/mazes