added template to allow see to work for strings or vectors (or anything with a .size() function)