A simple program for balancing Synthesis and Decomposition reactions