lab 4 working

the only issue is printing the link name results in some weird chars`