added test task to rakefile

Signed-off-by: Emiliano Firmino <elmiliox@gmail.com>
fix rubocop warnings

Signed-off-by: Emiliano Firmino <elmiliox@gmail.com>
added scanner and unit test

Signed-off-by: Emiliano Firmino <elmiliox@gmail.com>
add operator tokens in Scanner

Signed-off-by: Emiliano Firmino <elmiliox@gmail.com>
add InfixToPostfix class and unit tests

Signed-off-by: Emiliano Firmino <elmiliox@gmail.com>
extracted math operations

Signed-off-by: Emiliano Firmino <elmiliox@gmail.com>
implemented postfix machine

Signed-off-by: Emiliano Firmino <elmiliox@gmail.com>
teste de integracao, novos testes unitarios e correcao da operacao de multiplicacao
code style fixes
Maincalculator class
Merge branch 'topic/issue2' of https://github.com/Miliox/distcalc into topic/issue2
fixed postfix translation and code style
improve readability and change InfixToPostfix to InfixTranslator
rename infix_to_postfix to infix_translator
renamed classes of calculator
added .swp to ignore
small refactor in to_postfix
added doc and refactor PostfixMachine
small refactor in infix_translator
fixed encoding comment