Almost finished BPA
Continued writing PCL algo