bug fixes and another ./examples entry for euler 2