Learning lua programming