TestLinear implemented for Frequency, along with args4j parsing

linear implementation of frequencey tests + args4j parsing (tests to
follow)