Fixed a unittest bug in exe 1 and exe 2, implemented exe 2
and debugged exe 1 code