added algorithm to get cycles in array for index positiob
Added weeklies