Simple program to find the longest run of 0s or 1s