*Fixed error with fetching the 2Darray
*Changed comparison from using == to .compareTo