public char[] move(char[] tempMove)
	{
		int pos;
		char[] currLoc = getLocation(); 
		char[] newLoc;


		//pos = Arrays.binarySearch(tempMove, 'r');
		pos = ArrayUtils.indexOf(tempMove, 'r');
		//pos = Arrays.binarySearch(tempMove, 'r');

		System.out.println("\nindex of rat in char[] : " + pos);


		if((currLoc[pos] == 'p') || (currLoc[pos] == 'o'))
		{
			if (pos == 1)
			{
				//up
				--row;
			}

			if (pos == 3)
			{
				//left
				--collumn;
			}

			if (pos == 5)
			{
				//rightooowpwwrw
				++collumn;
			}

			if (pos == 7)
			{
				//down
				++row;
			}

			if((row == endrow) && (collumn == endcol))
			{
				newLoc = "ooooooooo".toCharArray();
				System.out.println("Maze Completed");
			}
			else
			{
				newLoc = getLocation();
				System.out.println("Moving to: " + row + ',' + collumn);
			}
		}
		else
		{
			System.err.println("Attempted Move: " + tempMove);
			newLoc = "rrrrrrrrr".toCharArray();
			System.out.println("Invalid move");
		}

		return newLoc;


	}