Return or set the link in direction dir to the room number i. To delete a link, i=-1, for an unknown link, i=-2, for a link back to the same room, i=-3