added string.gmatch and fixed string.match