line clipping algorithm in computer graphics example