A student observed a species and noticed the following characteristics in them. They have dry skin with scales, reproduce by laying eggs and respire through lungs. They are cold-blooded and have three chambered hearts. Which phylum this species might belong to?