Unchecked types? Fixed! Also implemented CArrayList.

Signed-off-by: Ross Allan <rallanpcl@gmail.com>