Use self instead of class to look up constants
Improved encapsulation
Improved public/private API separation
Hamming Distance in Ruby, aka Point Mutations revisited