Assignment 4 for CS531 class, Fall '13