Assignment 3 from Jianming Zhou