Code for finding stellar cycles in seredipidous X-ray data