completed except svg string parsing
parsed SVG string into arrays