Trianglize image using DNA algorithm