Added function signatures for main scheduling algorithm
Adding code shortly