Assignment 3 and 6 from Jagdevi Patil