chosen adjacent matrix as datastructure
chosen adjacent matrix as datastructure