Implemented function to break up sequences into regions. Will need to reread regions and assign stoplight values depending on t value.