Bubblesort algorithm (Lua)

Hello,
I've just written a little bubble sort algorithm in Lua. Also there is a test file which checks the sorted array/table.