Implant frequency.js

Frequency.js determines if the number of ones is approximately the number of zeros.

Based on sections 2.1 and 3.1 of NIST SP 800-22, Revision 1a.