added new method deleteJob.

I added method for deleting jobs. I also changed listJobs to show all jobs not only the last one.