function search(twoD,oneD){ // Searches a two dimensional array to see if it contains a one dimensional array. indexOf doesn't work in this case for(var i=0;i