Reverse Array Using Third Variable