what land mass was north america a part of about 300 million years ago