Checking the type of the array
Created vertex list to keep unknowns and equations apart