Stegosaurus was a plant-eating dinosaur that had armored plates along its back