Learning of Sophisticated Curriculums by viewing them as Graphs over Tasks