Added tails1, a tails implementation that uses Scala's predefined tails method