Ideas on the process of parsing and converting a string to a math expression