To sentence a defendant as a habitual offender, “[a]ll that is required is that the accused be properly indicted as an habitual offender, that the prosecution prove the prior offenses by competent evidence, and that the defendant be given a reasonable opportunity to challenge the prosecutor’s proof.” Keys v. State, 549 So.2d 949, 951 (Miss.1989)