Added feature to check for same number in rand

Also uploading for redditors to help fix that feature