Implement 'ConsListToInts' method.