add solution
update solution for rotate_list