add a head file edgs-s.h for edges generatialization and initialization in gpu
update source file