some exercise for studying lua