move init functions ->  void init()
indexing from 1, add void solve()
deleting vertex done
adding vertex done
work is done