HKUST COMP4021 Internet Computing (2014 Summer) Assignment 2