Adding code for day 6.