(Datasci, week3) Solutions to remaining 3 assignment problems