added solution to Arrays.md