The goal is to make an algorithm that allows the ants to move between rooms and tunnels, at the end they have to be in the last room.
There has to be just one ant per tunnel and one ant per room, except the first one and the last one.
The standard binary display the number of the ant that move and where she moves :
P1-2 --> The first ant move to the room number two. P1-3 --> The first ant move to the room number three. ...
make
To use it :
./lem_in < [file]
3
##start
0 1 0
##end
1 13 0 #bedroom
2 5 0
# The next room is the kitchen
3 9 0
0-2
2-3
3-1