added functionality to chekc the minimum amount of integers are set within a given string with tests