implemented tutorial allocation and assertions. Able to generate an optimal schedule