implemented error checking for fork(), merging with riya before testing fork bomb out of memory error handling
added error checking for fork
Merge branch 'flush-branch' of https://github.com/willxie/comp_421 into flush-branch