https://profilpelajar.com/en/Pocklington's_algorithm