Use table.maxn instead of length operator when constructing list.
Make sure `parameters` in genblock is not nil.
Fix bug in declaration of `do` operator in sample01.
Re-compile examples after bug fixes. The semicolon after do operator is not valid luajit syntax.
Remove semi-colons from generated lua code.
Re-compile examples after changes.
Removed unnecessary semicolon.
Add example.