Update Question2.java

Removed some extra empty lines