Added Array and Sorting Solutions: without almost sorted