added validations
Merge pull request #4 from scottmascio2115/fourth_bracnh

added validations