adds function that takes in a string, looks for "a", if "a" is there and "b" is exactly 3 places between them