Earliest known dinosaur discovered