implement gui interface
implemented graph design and create random node