Reverse Array Problem Leetcode Python Answers