Completed day7 problems