Created a contains() function in the low level C ArrayList code.

This is the first step towards completing #23.
I still need to update the interfaces up to ICollection with the new method along with the C++ code.