I have an array of strings coordinates of the way: A = [ \'(0.0),(3,3),(5,8)\', \'(1,2),(5,8),(8,9),(20,6)\' , \'(45,6),(91,5),(86,4)\' , \'(100,2),(105,8),(53,6)\']