public String toString()
	{
		String s = "";

		if (isEmpty())
		{
			for (int i = 0; i < MAX_SIZE; i++)
			{
				s += ".";
			}
			
			return s;
		}
		
		SwapProcess curr = get(0);
		SwapProcess prev;
		char procName;
		int diff;
		
		for (int i = 0; i < size(); i++)
		{
			//print . for any empty space before the first entry
			//also print the first entry
			if (i == 0)
			{
				curr = get(i);
				procName = curr.getName();
				
				for (int j = 0; j < curr.getStartPoint(); j++)
				{
					s += ".";
				}
				
				for (int j = 0; j < curr.getSize(); j++)
				{
					s += procName;
				}
			}
			
			//print . for all empty space between current and previous entry
			//also print current entry
			else 
			{
				curr = get(i);
				procName = curr.getName();
				prev = get(i - 1);
				diff = curr.getStartPoint() - prev.getEndPoint() - 1;
				
				for (int j = 0; j < diff; j++)
				{
					s += ".";
				}
				
				for (int j = 0; j < curr.getSize(); j++)
				{
					s += procName;
				}
			}
		}
		
		diff = MAX_SIZE - curr.getEndPoint() - 1;
		
		//print . for all empty memory space after last entry
		for (int j = 0; j < diff; j++)
		{
			s += ".";
		}
		
		return s;
	}