Update Arrays.md

I have added the solution that worked for me.