Update Calculator.java

Change input from console to command prompt