update 1st problem
update 4th problem
update 5th problem
update 6-7th problem