wrote logic for testing if file has forbidden extension
fixed all errors in arrstr and no_exts