Get an ugly but working solution for problem 1 done and ignore executables