Add a first version of encode system

Add function of read probability table from file.
Add sorting probability table function.
Delete command 'exit'.
Fix coding standart.