fixed and tested semicolonAtEnd method, you could pass two semi colons to expression.