Add solution and tests for numberToList