Added day7 code