Automatic filling machine for pharma