Basic implementation of Enumerable#first