fixed gitignore, deleted test, permission now work properly

permission now in twodimensional array. hope it still works...