Add python solution to challenge 24

Signed-off-by: James Durand