small changes to app
fixed resizing bug and changes to array representation of vertices and edges