Recognizes if it doesn't have a main
Recognizes if array size is less than 1.