fixed the failed parent in fg, and the segfault
Merge branch 'master' of github.com:kschwarz2014/Operating-Systems