removed solve_maze_bsd.sh, adapted solve_maze.sh to work on BSD as well