Solutions to both PRA 2014 Assignments