Update Problem1.java

I think the || or is what should be here.