Fixed bug in `decode`

The `Done` branch was not correctly pushing back unused input
Added tutorial