Changed implementation of iterators, deleted inBounds check function

Changelog:
	[*] Implemented iterators, as an array of structs {pointer, ID}
	[*] Deleted inBounds function
	[*] Added linear search function for the iterator structs array
		to find the idx