added drawing of vertices on screen and drawing an image on those vertices