Ex 5.2: Add test case and test case generation matlab script.
Ex 5.2: Modified main.