Added a script to check if a sequence is repeated.