Added write_instructions to recipe.py

Still failing tests.