Source code for telecom lab 3