CS631 Advanced Programming in the UNIX Environment  Assignment 2