Algorithm To Reverse Array Using Third Variable Problem Correlation