Added require_relative and split the hash table into 3 different inputs.