Using A While Statement To Check For Subarray Of Vector