Write a method that combines two numbers with an operator that is given as a string "+", "-", "*", "/", or "^" (raising to a power). For example, evaluate("^", 10, 2) should return 100.
"+"
"-"
"*"
"/"
"^"
evaluate("^", 10, 2)