Enter pdate:
oldist1: oldist2

up r3

r3: 

SR.No Date ohpoint ohdist olpoint oldist hhpoint hhdist hlpoint hldist lhpoint lhdist llpoint lldist chpoint chdist clpoint cldist

Btwn r3 and r2

r3:

    

r2:

SR.No Date ohpoint ohdist olpoint oldist hhpoint hhdist hlpoint hldist lhpoint lhdist llpoint lldist chpoint chdist clpoint cldist

Btwn r2 and r1

r2:

    

r1:

SR.No Date ohpoint ohdist olpoint oldist hhpoint hhdist hlpoint hldist lhpoint lhdist llpoint lldist chpoint chdist clpoint cldist

Btwn r1 and pivot

r1:

    

pivot:

SR.No Date ohpoint ohdist olpoint oldist hhpoint hhdist hlpoint hldist lhpoint lhdist llpoint lldist chpoint chdist clpoint cldist

Btwn pivot and s1

pivot:

    

s1:

SR.No Date ohpoint ohdist olpoint oldist hhpoint hhdist hlpoint hldist lhpoint lhdist llpoint lldist chpoint chdist clpoint cldist

Btwn s1 and s2

    

s1:

    

s2:

SR.No Date ohpoint ohdist olpoint oldist hhpoint hhdist hlpoint hldist lhpoint lhdist llpoint lldist chpoint chdist clpoint cldist

Btwn s2 and s3

    

s2:

    

s3:

SR.No Date ohpoint ohdist olpoint oldist hhpoint hhdist hlpoint hldist lhpoint lhdist llpoint lldist chpoint chdist clpoint cldist

Below s3

         

s3:

SR.No Date ohpoint ohdist olpoint oldist hhpoint hhdist hlpoint hldist lhpoint lhdist llpoint lldist chpoint chdist clpoint cldist