Stage II: Needle in a haystack

Insert second stage of the API challenge by creating a function that
check for the index of a string on an array of strings, and print it on
an label on the website.