The Gross-Neveu model and the pseudofermion algorithm