Update Calculator.java

added try statements to ensure all inputs were numbers, need to create loop, so once error occurs starts over.