wrote the thread function for crossing off composites but it segfaults so i have to fix that.