Update Problem1.java

I think the || or is what should be here.
Merge pull request #1 from BanjoPicker/patch-1

Update Problem1.java