Proper refactor of hit.rb
Proper refactor of invent.rb
Bugfix on Case statements not working as expected with CONSTANTS