Input string implementation plus, minus, multiply and divide four operations (java)