A coding kata I was asked to do as a test for a new contract role