added 0004
Merge pull request #32 from robot527/master

added 0004
Add a simple solution to 0024.