Reformatted homework2.rb to have classes 'n' hashes. Still need to figure out how to validate string inputs.