put hw1 into hw1 folder; change some strategy.