i wrote this code following Dormey\'s book "How to Solve it by Computer" i have some doubts, can I partition the array using an element that is outside it? because