Added a frequency function and deleted warofposes.txt