hw01 patch and rearrange the dir hierachy