Basic Calculator writed in Java