Finished exercise 10 ...
Program output:

$ java E10SortedList
	list has 21 elements
	first element =  -5000
	last element =  4000
	element[0] = -5000
	element[1] = -3000
	element[2] = -1000
	element[3] = 1
	element[4] = 2
	element[5] = 3
	element[6] = 4
	element[7] = 5
	element[8] = 5
	element[9] = 6
	element[10] = 7
	element[11] = 8
	element[12] = 9
	element[13] = 10
	element[14] = 11
	element[15] = 12
	element[16] = 13
	element[17] = 14
	element[18] = 15
	element[19] = 2000
	element[20] = 4000