How to write a "Related Work" section in Computer Science?
The problem here is likely deeper than just how to write a related work section.  In order to publish a (good) scientific paper, you need to be able to compare your results to prior results---often directly and quantitatively in your experimental section.  

If you already have prior methods that you are comparing to in your experimental section, then that's a good seed for your related work.  Look at the papers describing those methods; look at papers that they cite and papers that cite them.  By spending a few days wandering around in this web of literature, you are likely to be able to get a good sense of what else is out there and which of those pieces of work are most significant overall or most closely related to your own.

If you don't have prior methods that you are comparing to, then you need to sit down with your professor and get some help.  If you aren't comparing in some way, how can you establish that your work is a significant improvement worth publication?