In process of solving reverse array