Added support of the arithmetical, logical and stack operations. Tests are added as well.