CMPSC 122 Email validation homework