Update to recursiveDraw()

Now it adds elements based on given array