find_breaks function

Find changes for integer variable