Program for finding whether a list of test cases contains numbers in the fibonacci sequence