Solutions to Assignment 3 1 [15 marks] A character