I have following list structure-

```
List(("localhost","esx","192.168.1.1","33.36","93.80", "vms can not be added"),
 ("star","esx","192.168.1.2","62.61","47.20","vms can be added"),
 ("mars","esx","192.168.1.3","27.41","47.38","vms can be added), 
("moon","esx","192.168.1.4","23.58","69.40", "vms can not be added"))

```

I want following output -

```
List(("vms can be added",List(("star","esx","192.168.1.2","62.61","47.20"),
("mars","esx","192.168.1.3","27.41","47.38"))),

("vms can not be added",List(("localhost","esx","192.168.1.1","33.36","93.80"),
("moon","esx","192.168.1.4","23.58","69.40"))))

```

How do I get above output using scala???