add function to generate a system of linear equations given an unbalanced chemical equation