Added basic arithmetics processing. Fixed some stupid mistakes...