Test 2 part 3 passed. Added evaluating if statements.
OMFG IT COMPLETELY WORKS. Change a bit of the order of evaluating math operators so discarded branches are not evaluated. Test 1-4 of part 3 passed.