finished frequency distribution implementation, added randomID() function for generating short GUIDs, added bindClick to substitute for onClick addEventListener