Lab 4 of COMSW3157 Advanced Programming, Spring 2014