assignment1 by xiaoguai0992