First attempt at a determine function to determine the type of a root system. Created a module to split a list into its connected components via an edge function.