Added program for module-4, homework-2.