add dikstra with adjacent matrix