Tacked in an assertion into genRanAtt to check and make sure that no one attribute exceeds a value of five.