Implemented sender part of Task 2.1 and added given files for task3 and fixed small bug in task1.