Implement the BLEU (Bilingual Evaluation Understudy) score metric, which is widely used to evaluate the quality of machine-generated text by comparing it against one or more reference texts.
Given a candidate sentence (as a list of tokens), a list of reference sentences (each as a list of tokens), and a maximum n-gram order, compute the BLEU score.
Your function should: