Added (previously forgotten) example for get_line().
API: Added an attribute to get a list of core lines (no need to iterate manually). Also defined line equality.