Update Problem4.java

Removed exception handling that became unnecessary on code restructure.