consecutiveRuns function

Function to detect consecutive runs in a vector (individual's genotypes)