Found a simple implementation of pollard p-1 online

Could be a good starting point / reference as we try to implement
it ourself.