added the findAll method

A method to find all the instances of a type.