Simple c calculator