Update table.lua

Fixed: T:maxIndex( )