I would like to use this method of algebra in order to write a program on how to balance chemical equations
http://www.chembuddy.com/?left=balancing-stoichiometry&right=algebraic-method
It's system's of equations, and I have a CAS if that helps. If this method does not work, is there anyway I can write a program where it will balance equations for me? I need to do this alot and doing the work is tedious so I would like to have a handy calculator to do it for me, so I would love to write a program or something like this, just to do it for me. I have no experience, and just to make sure nobody is worried, I'm not a 10th grade kid trying to cheat in chemistry.
Thanks!