My solutions to the PRC31 Assignments