2.4 functions in karel