Evaluates match statements (work still needed)