I just mailed the sample code to this list. As far as I could
see whe carefully included the public and private keywords in
all relevant locations.
 
You probably forgot to attach the files or your mail-server filtered them out.