added documentation for lines and readme