implemented listjobs() builtin_cmd
builtin_cmd() done, added do_bgfg()
added error checking on do_bgfg()
improved do_bgfg() functionality