Code Added for Task 1 by Sumeet