Finding the value of expressions