combined the introduction and related work sections
added the algorithm to the algorithm section