Algorithm To Reverse Array Practice