User enters dimension of the board - N, start and finish, marked by "@" and obstacles marked by "#". All visited cells are also marked by "@".