add first solution for #2
Merge pull request #3 from walkermalling/try2

add first solution for #2