assignments: find a way to display return code
We use Sphinx's programoutput extension to generate the samples. However, with this small extension, the tests' return codes are not displayed anymore. We need to find an easy way to display the return code everywhere.