Drawing a row of sprites

Basically what I want to create is a row of sprite from x1 to x2 like the line() function.Here is what I got so far

-- Use this function to perform your initial setup
function setup()
    print("Hello World!")
    bs = 25
    x1 = 350
    x2 = x1+bs*10
    y1 = 500
    y2 = y1
   -- bn = (x2-x1)/bs
end

-- This function gets called once every frame
function draw()
    -- This sets a dark background color 
    background(40, 40, 50)

    -- This sets the line thickness
    strokeWidth(5)
        for i = x1,x2 do
            sprite("Platformer Art:Block Grass",x1,y1,bs,bs)
            x1 = x1 + bs
       end
end 

Any ideas? :-?


displayMode(FULLSCREEN)

function setup()
    bs = 25
    x1 = 350
    x2 = x1+bs*10
    y1 = 500
    y2 = y1
   -- bn = (x2-x1)/bs
end

function draw()
    background(40, 40, 50)
    strokeWidth(5)
    for i = x1,x2,bs do
       sprite("Platformer Art:Block Grass",i,y1,bs,bs)
    end
end 

Thanks @dave1707,that worked nicely