Added and tested get_instructions() function.