partition list solution added