arrays: switched to delphi syntax for generics and added a find() method.