parse

fun parse(model: String): List<List<String>>

Parses the string into a list of lists that represents the model. Assumes that terms are specified with a space between them and '*' representing multiplication:

"A B C AB AC BC AB*C" represents a full order linear model