public void delete(String in)
	{
		if(in.equals(this.getData(0)))
		{
			head = head.next;
			numberOfItems--;
		}
		else if(in.equals(this.getData(numberOfItems - 1)))
		{
			Nodes prev = search(numberOfItems - 2);
			prev.next = null;
			numberOfItems--;
		}
		else
		{
			for(int j = 0; j < numberOfItems; j++)
			{
				if(in.equals(this.getData(j)))
				{
					Nodes prev = search(j - 1);
					Nodes curr = prev.next;
					prev.next = curr.next;
					numberOfItems--;
					break;
				}
			}
		}
		
	}