patching some ruby classes for project euler problems