function Left(n) if n < 0 then Right(math.abs(n)) else print ("go left " .. n .. " spaces") end end function Right(n) if n < 0 then Left(math.abs(n)) else print ("go right " .. n .. " spaces") end end Left(1) Left(-10) Right(2) Right(-20)