solutions to assignment thirteen 8971974