Completed assignment-6