Reasoning in Large Language Models Through Symbolic Math Word Problems