Read carefully. You have to move the for loop
out of the table constructor. What works in HarvestMap is valid Lua code, yours isn't.
Sasky showed you what's wrong with your code, Garkin gave you a prefectly valid example, yet you still keep that loop in the table. Just paste what I posted above, with no crap around it. I didn't bother to fix indentation, but the braces are fixed.