some refactor in 026 "Find the Rank" (stopping using list.remove)