A Backtracking Algorithm for Determining the Existence of Regular Graphs of Specified Girth and Excess