A relaxation scheme for a multi-class Lighthill-Whitham-Richards traffic flow model