Added randomtestgenerator function. runs by itself, but unable to check with rest of program- having git issues.