Solutions to both PRA 2013 Assignments