Changed the name of helloworld directory and modified ex4.cpp