pub fn find_pattern( chars: &[char], start: usize, pattern: &[char], ) -> Option<usize>
Find a pattern in char array starting from pos.