Added brute force scheduling algorithm