getCategories method is finished

	 the method have been tested
	 and the functionality implemented

	 Commit by: Simon