Making a calculator with bash and sed