implementation complete, NaN error
latest
figured bug in count structure representation
change the structures storing counts