Added original source files.
Added a script for calculation frequency classes.