Added Custom Solution to array problem 2