Finished Line Algorithm PE1