Collection Principles in Dependent Type Theory -- Executing Higher Order