upload hw4 support code #nealwu-style-commit