Trivial homework stuffs finished by Weiwei Jia <harryxiyou@gmail.com>