Text this: New iterative method for solving chemistry problem