Adding Solution for Problem004