Really basic automat in lua
Working automat
Add callAction function