Constructing a Frequency Distribution