Update Problem3.java

Fixed indentation.