Design of the language SugarJ in APEG