Added str_in_array function