Finished but did not test add function.
disregard last commit. I forgot to save it so git didn't recognize the changes. Finish but did not test add and remove function.
Finished by did not test clear and getFrequency function.
Wrote out the function header for toVector.