AI Feynman: a Physics-Inspired Method for Symbolic Regression