jAST updated functions

Added while, arrays