結果 : explain the difference between a simple encoder and a priority encoder with suitable examples