adding euler 51 code.  not working yet