Fixed an error in save_sublist/3 (in case, when N = length(L)).