Update ParseComma.java

Updates on variable names and added ability to throw NumberFormatException