Slicing and dicing a list