solve prob-8 ybh
Merge pull request #12 from GpleLab/prob-8-java-ybh

solve prob-8 ybh