Advanced Step-by-Step Mathematical Solver