Added new functions to find the unique numbers and sort them in an array.