Signed-off-by: Zoe Lebourgeois <zoe.lebourgeois@yahoo.co.uk>
Code tested against unit tests - all outputs as expected