makeGroupList function

Convert character string in lavaan syntax into a list of indices