Added basic line removal algorithm
Modified comments

Signed-off-by: Jimmy Yu <jimmy.w.j.yu@gmail.com>