Creates an automated schedule given inputted classes