Adding a method to identify bouncy numbers.