Added a method to create a specified number of threads and evenly distribute the data between them. Also added an ENUM data type to represent different sorting algorithms.