Reorganize code of src/ex7
Reorganize code of src/ex7