Just string calculator in java