added MaxInt to lape
added more type functions for TPA. more coming soon, for ATPA also.
renamed same -> equals and added sorting functions for TIntegerArray. Had to name them differently from simba in order for this to work, i.e TIntegerArray.sortQuick is QuickSort.