StringSolver.rb
Define addMember, printPopulation functions