added variable support in check if goal is satisfied (incomplete)

Signed-off-by: Jefferson Cordero <jepjephooray05@gmail.com>