Update list_piece.c

add fct rotate left and update rotate right