added isEmail function and charChopper functions, added more commenting