Added a tail function to array_tools.