Colour coding for classes based on prerequisites