Modified constructor to accept number of elements rather than hashpower

Now the user won't have to worry about buckets and SLOT_PER_BUCKET to
calculate the hashpower when initializing the table. This replaces the
hashpower constructor, so code that uses the hashpower constructor will
likely have to change.