Create ABCheck

This is the original ABCheck function from class. It checks a string, and uses a while loop to look for the absolute value of the difference between the letter "b" and the letter "a".