Add more comments to explain better how the decoder works

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>