code kata - double list