let HashList.add() accept string in addition to Hash object