parse_multiverse function

Parse the multiverse syntax to identify branches